<link rel="stylesheet" href="/static/client/css/bootstrap.min.css">
<link rel="stylesheet" href="/static/client/carousel.css">

<link rel="stylesheet" href="/static/client/css/style.css">
<link rel="stylesheet" href="/static/client/css/bootstrap-fileupload.min.css">
<!--[if lt IE 9]>
	<script src="/static/client/js/html5shiv.js"></script>
	<script src="/static/client/js/respond.min.js"></script>
<![endif]-->
<header>
	<div class="navbar navbar-default navbar-fixed-top">
		<div class="container">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse"
					data-target=".navbar-collapse">
					<span class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="index.html"> <strong>我的家</strong>
				</a>
			</div>
			<div class="navbar-collapse collapse">
				<ul class="nav navbar-nav">
					<li><a href="see.html">看看</a></li>
					<li class="active"><a href="say.html">说说</a></li>
					<li><a href="write_all.html">记记</a></li>
					<li><a href="timer.html">Time</a></li>
					<li><a href="contact.html">联系我哦</a></li>
				</ul>
				<ul class="nav navbar-nav navbar-right">
					<p id="world" class="navbar-text">
						<span class="dash">还有:</span> <span class="dash weeks_dash">
							<span class="digit text-info">0</span> <span
							class="digit text-info">0</span> 周 </span> <span class="dash days_dash">
							<span class="digit text-info">0</span> <span
							class="digit text-info">0</span>天 </span> <span class="dash hours_dash">
							<span class="digit text-info">0</span> <span
							class="digit text-info">0</span>小时 </span> <span
							class="dash minutes_dash"> <span class="digit text-info">0</span>
							<span class="digit text-info">0</span>分 </span> <span
							class="dash seconds_dash"> <span class="digit text-info">0</span>
							<span class="digit text-info">0</span> 秒 </span>

					</p>
					#if(${user})
					<li>
						<p class="navbar-text"><span class="text-success">hi,$user.userName&nbsp;</span></p>
					</li>
					<li>
						<li><a href="javascript:void(0);" onclick="logout();"><span class="text-warning">离开</span></a>
					</li>
					#else
					<li><a href="#" data-toggle="modal" data-target="#login_div">登录</a></li>
					<li><a href="#" data-toggle="modal" data-target="#reg_div">注册</a>
					#end
				</ul>
			</div>

		</div>
	</div>
</header>

<script type="text/javascript" src="/static/client/js/jquery.js"></script>
<script type="text/javascript" src="/static/client/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/static/client/js/jquery.form.js"></script>
<script type="text/javascript" src="/static/client/js/bootstrap-fileupload.min.js"></script>
<script type="text/javascript" src="/static/client/js/sco.message.js"></script>
<script type="text/javascript" src="/static/client/js/jquery.validate.min.js"></script>
<script type="text/javascript" src="/static/client/js/holder.js"></script>

<script type="text/javascript">
	$(function() {

		//倒计时的
		$('#world').countDown({
			targetDate : {
				'day' : 13,
				'month' : 3,
				'year' : 2014,
				'hour' : 0,
				'min' : 0,
				'sec' : 0
			}
		});
	});
	//退出
	function logout(){
		jQuery.get("/login/out.htm",function(data,status){
			if(data.status=="success"){
				window.location.reload();
			}
		});
	}
	
</script>
